package com.huaboot.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huaboot.system.entity.SysUserPostEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * description: SysUserPostMapper
 * date: 2023/9/7 17:42
 * author: ff
 */
@Mapper
public interface SysUserPostMapper extends BaseMapper<SysUserPostEntity> {
    /**
     * 岗位ID列表
     * @param userId  用户ID
     */
    List<Long> getPostIdList(@Param("userId") Long userId);
}
